package com.example.service;

import com.example.entity.Focus;

public interface FocusService {
    //判断是否关注
    Focus isFocus(Long userId, Long authordId);

    //增加关注
    int focus(Focus focus);

    //取消关注
    int cancelFocus(Long userId,Long authorId);

    //更新关注
    int updateFocus(Long userId);

    //加粉
    int addfans(Long userId);

    //掉粉
    int reducefans(Long userId);
}
